package com.SDU.policedispatch.mapper;

import com.SDU.policedispatch.entity.PersonnelInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PersonnelInfoMapper extends BaseMapper<PersonnelInfo> {
    @Select("SELECT * FROM personnel_info WHERE TRIM(id) = #{id}")
    PersonnelInfo selectPersonnelInfoById(@Param("id") String id);
}